package com.twu.biblioteca;

public class Book extends Item {
    private final String author;

    public Book(String name, String year, String author, boolean checkedOut) {
        super(name, checkedOut, year);
        this.author = author;
    }

    @Override
    public Object[] fields() {
        return new Object[]{super.name, this.author, super.year};
    }


}
